Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for scroll position sync #2404

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

guanglinn
Copy link
Contributor

@guanglinn guanglinn commented Sep 3, 2024

Add basic support for scroll synchronization between Markdown preview (view-mode) and its source code (edit-mode).

🌈 Support:

  • Synchronize scroll position from edit to preview.
  • Synchronize scroll position from preview to edit.

This feature is related to issues
#2373 #2189 #1070 #1060 #679.

@guanglinn
Copy link
Contributor Author

guanglinn commented Sep 3, 2024

You can see the demonstration ↓

2024-09-03-markdown-scroll-sync.mp4

@guanglinn guanglinn changed the title Add support for scroll sync Add support for scroll position sync Sep 5, 2024
@gsantner
Copy link
Owner

gsantner commented Sep 16, 2024

has conflicts

@guanglinn
Copy link
Contributor Author

guanglinn commented Sep 17, 2024

Conflicts are resolved :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants